
package com.craterhill.java.ems.dao.impl;

import java.util.List;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.craterhill.java.ems.common.beans.SchoolType;
import com.craterhill.java.ems.dao.SchoolTypeDao;

@Repository
public class SchoolTypeDaoImpl extends AbstractDao<SchoolType> implements SchoolTypeDao {

	@Autowired
	public SchoolTypeDaoImpl(final DataSource dataSource) {
		super(dataSource);
	}

	@Override
	public List<SchoolType> findAll() {
		return super.findMultipleObject(FIND_ALL, new SchoolTypeExtractor());
	}

	@Override
	public SchoolType find(int recordId) {
		return null;
	}

	@Override
	public boolean remove(Integer... ids) {
		return false;
	}

	@Override
	public int save(SchoolType t) {
		return 0;
	}

	@Override
	public boolean update(SchoolType t) {
		return false;
	}
}
